package main
import (
    "fmt"    
)

type student struct {
	Name string
	Age  int
}

func pase_student() {
	m := make(map[string]*student)
	stus := []student{
		{Name: "zhou", Age: 24},
		{Name: "li", Age: 23},
		{Name: "wang", Age: 22},
	}
	for _, stu := range stus {
		currStu :=stu
		m[stu.Name] = &currStu
	}

	fmt.Printf("value=%v\n", m["zhou"])
	fmt.Printf("value=%v\n", m["li"])
	fmt.Printf("value=%v\n", m["wang"])

}

func main() {
	
	pase_student()

	var iTmp int
	fmt.Printf("iTmp=%v\n", iTmp)
}
 

	

 